﻿// -----------------------------------------------------------------------
// <copyright file="StringValueAttribute.cs" company="Microsoft">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

using System;

/// <summary>
/// String value Attribute
/// </summary>
public class StringValueAttribute : Attribute
{
    #region Constructor

    /// <summary>
    /// Initializes a new instance of the StringValueAttribute class
    /// </summary>
    /// <param name="value">The stringvalue of the element</param>
    public StringValueAttribute(string value)
    {
        this.StringValue = value;
    }

    #endregion

    #region Properties

    /// <summary>
    /// Gets or sets the stringvalue for a value in an enum.
    /// </summary>
    public string StringValue { get; protected set; }

    #endregion
}
